package fueltrack.client;

import java.io.Serializable;
import java.util.Date;

public class FuelTrackEntry implements Serializable {
	
	private static final long serialVersionUID = 5032476652572338868L;
	
	private Date date;
	private Long odometer;
	private Double tripMeter;
	private Double litres;
	private Double amount;
	
	public FuelTrackEntry() {
	}

	public FuelTrackEntry(Date date, Long odometer, Double tripMeter, Double litres, Double amount) {
		this.date = date;
		this.odometer = odometer;
		this.tripMeter = tripMeter;
		this.litres = litres;
		this.amount = amount;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Long getOdometer() {
		return odometer;
	}

	public void setOdometer(Long odometer) {
		this.odometer = odometer;
	}

	public Double getTripMeter() {
		return tripMeter;
	}

	public void setTripMeter(Double tripMeter) {
		this.tripMeter = tripMeter;
	}

	public Double getLitres() {
		return litres;
	}

	public void setLitres(Double litres) {
		this.litres = litres;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}
	
}
